<template>
  <icon-statistical
    @click="statisticalClick"
    class="icon-statistical w-pointer"
    width="20"
    height="20"/>
</template>

<script>
import IconStatistical from '@/icons/statistical-chart.svg'
import Config from '@/config/index'
export default {
  name: 'ConStatistical',
  components: {
    IconStatistical
  },
  methods: {
    /**
     * 统计按钮点击，跳转百度统计
     */
    statisticalClick() {
      window.open(Config.webStatistical)
    }
  }
}
</script>

<style scoped>
  .icon-statistical {
    position: fixed;
    left: 10px;
    bottom: 10px;
  }
</style>
